/**
 * DishDTO.java
 * Nov 12, 2013
 * Copyright: phongtdse60732@fpt.edu.vn
 */
package DTO;

import java.util.ArrayList;

/**
 * @author trandophong
 * @version 1.0
 */
public class DishDTO {
	private int id;
	private String name;
	private int calo;
	private CookingDTO cooking;
	private String description;
	private String imgPath;

	ArrayList<FoodDTO> foodList;

	public DishDTO() {
		this.id = 0;
		this.name = "";
		this.calo = 0;
		this.description = "";
		this.imgPath = "";
		this.foodList = new ArrayList<FoodDTO>();
	}

	public DishDTO(int id, String name, int calo, CookingDTO cooking,
			String description, String imgPath) {
		super();
		this.id = id;
		this.name = name;
		this.calo = calo;
		this.cooking = cooking;
		this.description = description;
		this.imgPath = imgPath;
		this.foodList = new ArrayList<FoodDTO>();
	}

	/**
	 * Get value of the id
	 * 
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * Set value for the id
	 * 
	 * @param id
	 *            the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * Get value of the name
	 * 
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Set value for the name
	 * 
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Get value of the calo
	 * 
	 * @return the calo
	 */
	public int getCalo() {
		return calo;
	}

	/**
	 * Set value for the calo
	 * 
	 * @param calo
	 *            the calo to set
	 */
	public void setCalo(int calo) {
		this.calo = calo;
	}

	/**
	 * Get value of the cooking
	 * 
	 * @return the cooking
	 */
	public CookingDTO getCooking() {
		return cooking;
	}

	/**
	 * Set value for the cooking
	 * 
	 * @param cooking
	 *            the cooking to set
	 */
	public void setCooking(CookingDTO cooking) {
		this.cooking = cooking;
	}

	/**
	 * Get value of the description
	 * 
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * Set value for the description
	 * 
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * Get value of the imgPath
	 * 
	 * @return the imgPath
	 */
	public String getImgPath() {
		return imgPath;
	}

	/**
	 * Set value for the imgPath
	 * 
	 * @param imgPath
	 *            the imgPath to set
	 */
	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}

	/**
	 * Get value of the foodList
	 * 
	 * @return the foodList
	 */
	public ArrayList<FoodDTO> getFoodList() {
		return foodList;
	}

	/**
	 * Set value for the foodList
	 * 
	 * @param foodList
	 *            the foodList to set
	 */
	public void setFoodList(ArrayList<FoodDTO> foodList) {
		this.foodList = foodList;
	}
}
